package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.RunfastSmsSendrecordMapper;
import com.runfast.waimai.dao.model.RunfastSmsSendrecord;
import com.runfast.waimai.dao.model.RunfastSmsSendrecordExample;
import com.runfast.waimai.service.RunfastSmsSendrecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RunfastSmsSendrecordServiceImpl extends BaseService<RunfastSmsSendrecord, Integer, RunfastSmsSendrecordExample> implements RunfastSmsSendrecordService {
    @Resource
    RunfastSmsSendrecordMapper dao;
    @Override
    public RunfastSmsSendrecord findNewRecord(String mobile, int smstype, String xcode) {
        return dao.findNewRecord(mobile,smstype,xcode);
    }
}